package com.langhu.service.Impl;

import com.langhu.dao.IndexMapper;
import com.langhu.entity.NocvData;
import com.langhu.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexServiceImpl implements IndexService {

    @Autowired
    private IndexMapper indexMapper;

    @Override
    public List<NocvData> queryData() {
        List<NocvData> nocvData = indexMapper.selectList(null);
        return nocvData;
    }
}
